package hbase.common;

import org.apache.hadoop.hbase.client.Scan;
import org.apache.hadoop.hbase.util.Bytes;

public class MyScan extends Scan {
    public Scan addFamily(String family) {
        return super.addFamily(Bytes.toBytes(family));
    }

    public Scan addColumn(String family, String qualifier) {
        return super.addColumn(Bytes.toBytes(family), Bytes.toBytes(qualifier));
    }
}
